package uk.co.jonlt.AndBus;

public class Stop {

    private String route;
    private String name;
    private String destination;
    private String busStopCode;
   
    // Constructor for the Stop book class
    public Stop(String route, String name, String busStopCode, String destination) {
            super();
            this.route = route;
            this.name = name;
            this.destination = destination;
            this.busStopCode = busStopCode;
    }
   
    // Getter and setter methods for all the fields.
    public String getRoute() {
            return route;
    }
    public String getName() {
            return name;
    }
    public String getbusStopCode() {
            return busStopCode;
    }
    public String getDestination() {
            return destination;
    }
}
